Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

195
Visualizações
Javascript -> Convert an array of strings into objects (singular string) MongoDB query

I am querying a MongoDB database by with the search {"extra.title":/XXX /}, and current have an array of strings "/XXX /" but the query only works with the field as objects. I was wondering if there was a solution to convert these strings into javascript objects as I am not able to figure it out.

manually this is the array of query searches that works [/123 /, /456 /, /789/] I need to do this for a large array of searches however from a csv file and my current array is ["/123 /", "/456 /", "/789 /"]

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda